import { Navigate } from "react-router-dom";
import About from "../pages/About";
import Home from "../pages/Home";

export default [
    {
        path:'/about',
        element: <About/>
    },
    {
        path:'/home',
        element:<Home/>
    },
    {
        index:true,
        element:<Navigate to="/home" />
    }
]